package com.ygs.secs.model;

import java.io.Serializable;


/**
 * 应聘记录
 */
public class Record implements Serializable {
    //记录编号
    private Integer recordid;

    //所属学生
    private Student student;

    //应聘岗位
    private EnterpriseJob job;

    //自我推荐
    private String selfrecommend;

    private static final long serialVersionUID = 1L;

    public Integer getRecordid() {
        return recordid;
    }

    public void setRecordid(Integer recordid) {
        this.recordid = recordid;
    }

    public Student getStudent() {
        return student;
    }

    public void setStudent(Student student) {
        this.student = student;
    }

    public EnterpriseJob getJob() {
        return job;
    }

    public void setJob(EnterpriseJob job) {
        this.job = job;
    }

    public String getSelfrecommend() {
        return selfrecommend;
    }

    public void setSelfrecommend(String selfrecommend) {
        this.selfrecommend = selfrecommend;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", recordid=").append(recordid);
        sb.append(", stuid=").append(student.getStuid());
        sb.append(", jobid=").append(job.getJobid());
        sb.append(", selfrecommend=").append(selfrecommend);
        sb.append("]");
        return sb.toString();
    }
}